package com.tie.jun.ge.xxljob.config;

/**
 * @program: springboot
 * @description: xxladmin配置文件
 * @author: getiejun
 * @create: 2025-10-20 00:17
 **/
public class XxlAdminConfig {

    /**
     * 用户名和密码后期可以通过配置进行配置和enc加密
     */
    public static final String USERNAME = "admin";

    public static final String PASSWORD = "123456";

    public static final Integer CONNECTION_TIME_OUT = 5000;

    public static final String COOKIE_NAME = "XXL_JOB_LOGIN_IDENTITY";

    /**
     * XXL-ADMIN 登录url
     */
    public static final String LOGIN_URL = "http://192.168.3.250:8181/xxl-job-admin/login";

    /**
     * XXL-ADMIN add job
     */
    public static final String ADD_JOB = "http://192.168.3.250:8181/xxl-job-admin/jobinfo/add";

    /**
     * XXL-ADMIN update job
     */
    public static final String UPDATE_JOB = "http://192.168.3.250:8181/xxl-job-admin/jobinfo/update";

    /**
     * XXL-ADMIN remove job
     */
    public static final String REMOVE_JOB = "http://192.168.3.250:8181/xxl-job-admin/jobinfo/remove";

    /**
     * XXL-ADMIN start job
     */
    public static final String START_JOB = "http://192.168.3.250:8181/xxl-job-admin/jobinfo/start";

    /**
     * XXL-ADMIN stop job
     */
    public static final String STOP_JOB = "http://192.168.3.250:8181/xxl-job-admin/jobinfo/stop";

    /**
     * XXL-ADMIN trigger job
     */
    public static final String TRIGGER_JOB = "http://192.168.3.250:8181/xxl-job-admin/jobinfo/trigger";
}
